home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 351-375 / disk_351 / pdc / libsrc.lzh / LibSrc / Math / matherr.c < prev    next >
C/C++ Source or Header  |  1990-04-07  |  2KB  |  62 lines

  1. /************************************************************************
  2.  *                                                                      *
  3.  *                              N O T I C E                             *
  4.  *                                                                      *
  5.  *                      Copyright Abandoned, 1987, Fred Fish            *
  6.  *                                                                      *
  7.  *      This previously copyrighted work has been placed into the       *
  8.  *      public domain by the author (Fred Fish) and may be freely used  *
  9.  *      for any purpose, private or commercial.  I would appreciate     *
  10.  *      it, as a courtesy, if this notice is left in all copies and     *
  11.  *      derivative works.  Thank you, and enjoy...                      *
  12.  *                                                                      *
  13.  *      The author makes no warranty of any kind with respect to this   *
  14.  *      product and explicitly disclaims any implied warranties of      *
  15.  *      merchantability or fitness for any particular purpose.          *
  16.  *                                                                      *
  17.  ************************************************************************
  18.  */
  19.  
  20. /*
  21.  *  FUNCTION
  22.  *
  23.  *      matherr    default math error handler function
  24.  *
  25.  *  KEY WORDS
  26.  *
  27.  *      error handler
  28.  *      machine independent routines
  29.  *      math libraries
  30.  *
  31.  *  DESCRIPTION
  32.  *
  33.  *      Default math error handler for the math library.  This routine
  34.  *      may be replaced by one of the user's own handlers.  The default
  35.  *      is to do nothing and returns zero.  If the user wishes to supply
  36.  *      the return value for the function, and to suppress default
  37.  *      error handling by the function, his matherr routine must return
  38.  *      non-zero.
  39.  *
  40.  *  USAGE
  41.  *
  42.  *      int matherr (xcpt)
  43.  *      struct exception *xcpt;
  44.  *
  45.  *  PROGRAMMER
  46.  *
  47.  *      Fred Fish
  48.  *
  49.  */
  50.  
  51. #include <stdio.h>
  52. #include "pml.h"
  53.  
  54. static char funcname[] = "matherr";
  55.  
  56. int matherr (xcpt)
  57. struct exception *xcpt;
  58. {
  59.     DBUG_ENTER (funcname);
  60.     DBUG_RETURN (0);
  61. }
  62.